package com.zn.web.dto;

/**
 * Created by yinji on 2018/7/14.
 */
public class KLineDto {
    /**合约code ag1812**/
    private String code;
    /**用于分页 当前时间开始**/
    private String curTimeBegin;
    /**当前时间结束**/
    private String curTimeEnd;
    /**K线类型 0-当日分时线；1-1分钟K线；2-5分钟K线；3-15分钟K线；4-30分钟K线；5-1小时K线；6-4小时；7-日线**/
    private Integer klineType;
    /**用于分页查询**/
    private Integer	pageNum;// 页码
    private Integer pageSize = 300;// 页大小


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCurTimeBegin() {
        return curTimeBegin;
    }

    public void setCurTimeBegin(String curTimeBegin) {
        this.curTimeBegin = curTimeBegin;
    }

    public String getCurTimeEnd() {
        return curTimeEnd;
    }

    public void setCurTimeEnd(String curTimeEnd) {
        this.curTimeEnd = curTimeEnd;
    }

    public Integer getKlineType() {
        return klineType;
    }

    public void setKlineType(Integer klineType) {
        this.klineType = klineType;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "KLineDto{" +
                "code='" + code + '\'' +
                ", curTimeBegin='" + curTimeBegin + '\'' +
                ", curTimeEnd='" + curTimeEnd + '\'' +
                ", klineType=" + klineType +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
